package org.budo.cmbc.sdk.entity;

import org.budo.time.Time;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @author lmw
 */
@Getter
@Setter
@ToString
public class CostReimbRequest extends AbstractCmbcRequest {
    private static final long serialVersionUID = -4020593924334331720L;

    private String trnId;

    private String insId;

    private String acntNo;

    private String acntToNo;

    private String acntToName;

    // 1--卡 2-- 活折:收款账户类
    private Integer payeeAcctType;

    private String amount;

    private String explain;

    // 企业自制凭证号(8 位以内的数字)
    private Integer certNo;

    public CostReimbRequest() {
        super();

        this.setTrnId("CMBC_" + Time.now().toString(DATE_FORMAT_2));
        this.setPayeeAcctType(1);
    }
}